#include <iostream>

int sum(int a, int b){
    return a + b; 
}

int subtract(int a, int b){
    return a - b;
}

int main(){

    int (*funPointer)(int, int);
    // int *funPointer(int, int);

    // funPoninter = sum(1,2);
    funPointer = sum;
    // int result = funPointer(1,2);


    std::cout << "func pointer: " << funPointer(1,2) << std::endl;
    // 脱了裤子放屁！
    std::cout << "func pointer: " << static_cast<int>(funPointer(1,2)) << std::endl;
}